<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@ page import="com.google.appengine.api.blobstore.BlobstoreServiceFactory" %>
<%@ page import="com.google.appengine.api.blobstore.BlobstoreService" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>

<%
    BlobstoreService blobstoreService = BlobstoreServiceFactory.getBlobstoreService();
%>

<
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Alta Libros</title>
<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
<link type="text/css" rel="stylesheet" href="./stylesheets/jquery-ui.css" media="screen"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
 <link type="text/css" rel="stylesheet" href="/stylesheets/menu.css"/>
 

<script type="text/javascript">
jQuery(function($){
	$.datepicker.regional['es'] = {
		closeText: 'Cerrar',
		prevText: '&#x3c;Ant',
		nextText: 'Sig&#x3e;',
		currentText: 'Hoy',
		monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
		'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
		monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
		'Jul','Ago','Sep','Oct','Nov','Dic'],
		dayNames: ['Domingo','Lunes','Martes','Mi&eacute;rcoles','Jueves','Viernes','S&aacute;bado'],
		dayNamesShort: ['Dom','Lun','Mar','Mi&eacute;','Juv','Vie','S&aacute;b'],
		dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','S&aacute;'],
		weekHeader: 'Sm',
		dateFormat: 'dd/mm/yy',
		firstDay: 1,
		isRTL: false,
		showMonthAfterYear: false,
		yearSuffix: ''};
	$.datepicker.setDefaults($.datepicker.regional['es']);
});    

        $(document).ready(function() {
           $("#datepicker").datepicker();
        });
    </script>
 
</head>

<body>

     <div id="stylized" class="myform">		
		<form action="/crear_libro" method="post" id="form" name="form">
		
		<h2>Formulario de Alta para Libros</h2>
		
                <p>Por favor, introdusca todos los campos</p>	
                
                
                    <label>*ISBN:
                        <span class="small">Añade el ISBN</span>
                    </label>
                        <input id="name" type="text" name="isbn" size="18" maxlength="18" required="required">

			
                        <label>*TITULO:
                            <span class="small">Añade el Titulo </span>
                        </label>
			<input id="name" type="text" name="titulo" required="required">
			
	
                        <label>*AUTOR:
                            <span class="small">Añade el autor </span>
                        </label>
			<input id="name" type="text" name="autor" required="required">
			
			
			
                        <label>*EDITORIAL:
                            <span class="small">Añade la editorial</span>
                        </label>
			<input id="name" type="text" name="editorial" required="required">
                        
                        <label>Genero:
                            <span class="small">Añade genero</span>                            
                        </label>
                        <input id="name" type="text" name="genero" required="required">
			 
			
                     
                        <label>*TIENE CD:
                            <span class="small">Selecciona</span>
                        </label>
			<select name="tieneCD"><option>Si<option SELECTED>No</select>
              
			
                        <label>*DESCRIPCIÓN:
                            <span class="small">Añade una descripcion</span>
                        </label>
			 <textarea name="content" rows="3" cols="40" required="required"></textarea></td>
             
                                
                                Imagen: <input type="file" name="imagen" id="imagen">
				<input type="submit" value="Enviar formulario">
				<input type="reset" value="Borrar">
				 <input type="button" value="Volver" onclick="history.back()">
				
				<div class="spacer"></div>
		</form>	
                </div>
	
</body>
</html>